#include "main.h"
#include "ParseTS_Head.h"
#include "ParsePMT.h"
#include "ParseNIT.h"
#include "ParseBAT.h"
#include "ParseSDT.h"
#include "ParseEIT.h"

void List()
{
    PmtPoint = (TS_PMT *)malloc(sizeof(TS_PMT));
    PmtPoint->next = NULL;
    PmtPoint->Previous = NULL;
    TS_PackagePmtPoint = PmtPoint;

    NitPoint = (TS_NIT *)malloc(sizeof(TS_NIT));
    NitPoint->next = NULL;
    NitPoint->Previous = NULL;
    TS_PackageNitPoint = NitPoint;

    BatPoint = (TS_BAT *)malloc(sizeof(TS_BAT));
    BatPoint->next = NULL;
    BatPoint->Previous = NULL;
    TS_PackageBatPoint = BatPoint;

    SdtPoint = (TS_SDT *)malloc(sizeof(TS_SDT));
    SdtPoint->next = NULL;
    SdtPoint->Previous = NULL;
    TS_PackageSdtPoint = SdtPoint;

    EitPoint = (TS_EIT *)malloc(sizeof(TS_EIT));
    EitPoint->next = NULL;
    EitPoint->Previous = NULL;
    TS_PackageEitPoint = EitPoint;
}